from marshmallow import fields

from gis.common.django_ext.forms import EnumField
from itpay.core.recharge_order.const import OrderCommentStar
from itpay.server_api.view.base import MchSignRequestSchema


class AddRechargeCommentListSchema(MchSignRequestSchema):
    recharge_order_id = fields.String(required=True)
    comment_star = EnumField(OrderCommentStar)
    comment_content = fields.String()
